<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:replace="dashboard/header :: header"></head>
<body>

<!--
@desc  更新
@author WeiXiaoJin
@since 2019-10-05 13:52:49
-->

	<div layout:fragment="content">
		<div class="container-fluid content-main">
			<div class="animated fadeIn">
				<div class="row">
					<div class="col-sm-12">
						<div class="card">
							<div class="card-body">

								<form class="form-horizontal" id="modifyForm">

									<input type="hidden" name="id" th:value="${bean.id}" />
									
<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">作业名称 </label>
	<div class="col-md-9">
				<input class="form-control" id="jobName" type="text" th:value="${ bean.jobName}" name="jobName" placeholder="作业名称">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">任务名称,每次作业运行生成新任务 </label>
	<div class="col-md-9">
				<input class="form-control" id="taskId" type="text" th:value="${ bean.taskId}" name="taskId" placeholder="任务名称,每次作业运行生成新任务">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">主机名称 </label>
	<div class="col-md-9">
				<input class="form-control" id="hostname" type="text" th:value="${ bean.hostname}" name="hostname" placeholder="主机名称">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">主机IP </label>
	<div class="col-md-9">
				<input class="form-control" id="ip" type="text" th:value="${ bean.ip}" name="ip" placeholder="主机IP">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">分片项 </label>
	<div class="col-md-9">
				<input class="form-control" id="shardingItem" type="text" th:value="${ bean.shardingItem}" name="shardingItem" placeholder="分片项">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">作业执行来源 </label>
	<div class="col-md-9">
				<input class="form-control" id="executionSource" type="text" th:value="${ bean.executionSource}" name="executionSource" placeholder="作业执行来源">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">执行失败原因 </label>
	<div class="col-md-9">
				<input class="form-control" id="failureCause" type="text" th:value="${ bean.failureCause}" name="failureCause" placeholder="执行失败原因">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">是否执行成功 </label>
	<div class="col-md-9">
				<input class="form-control" id="isSuccess" type="text" th:value="${ bean.isSuccess}" name="isSuccess" placeholder="是否执行成功">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">作业开始执行时间 </label>
	<div class="col-md-9">
				<input class="form-control" id="startTime" type="text" th:value="${ bean.startTime}" name="startTime" placeholder="作业开始执行时间">
			</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">作业结束执行时间 </label>
	<div class="col-md-9">
				<input class="form-control" id="completeTime" type="text" th:value="${ bean.completeTime}" name="completeTime" placeholder="作业结束执行时间">
			</div>
</div>
																				</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<footer th:replace="dashboard/footer :: footer"></footer>

	<script type="text/javascript">
		function submitHandler() {
            var modifyUrl = ctx+"business/boot/executionLog/update" ;
			$.operate.save(modifyUrl , $('#modifyForm').serialize());
	    }
	</script>
</body>
</html>
